/**
 * Copyright (c) 2025 Huawei Technologies Co., Ltd.
 * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
 * CANN Open Software License Agreement Version 2.0 (the "License").
 * Please refer to the License for details. You may not use this file except in compliance with the License.
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
 * See LICENSE in the root of the software repository for the full text of the License.
 */

#ifndef __DMS_DEVICE_NODE_TYPE_H__
#define __DMS_DEVICE_NODE_TYPE_H__

typedef enum {
    DMS_DEV_TYPE_SOC = 0X40,
    DMS_DEV_TYPE_PCIE_LINK = 0X41,
    DMS_DEV_TYPE_HCCS_LINK = 0X42,
    DMS_DEV_TYPE_CPU_CORE = 0X50,
    DMS_DEV_TYPE_L3D = 0X51,
    DMS_DEV_TYPE_L3T = 0X52,
    DMS_DEV_TYPE_MESH = 0X53,
    DMS_DEV_TYPE_RING = 0X54,
    DMS_DEV_TYPE_RBRG = 0X55,
    DMS_DEV_TYPE_GIC = 0X56,
    DMS_DEV_TYPE_ITS = 0X57,
    DMS_DEV_TYPE_MN = 0X58,
    DMS_DEV_TYPE_CS = 0X59,
    DMS_DEV_TYPE_SIOE = 0X5A,
    DMS_DEV_TYPE_SLLC = 0X5B,
    DMS_DEV_TYPE_PCIE = 0X5C,
    DMS_DEV_TYPE_ROCE = 0X5D,
    DMS_DEV_TYPE_NIC = 0X5E,
    DMS_DEV_TYPE_UFS = 0X5F,
    DMS_DEV_TYPE_SPI = 0X60,
    DMS_DEV_TYPE_XGMAC = 0X61,
    DMS_DEV_TYPE_SAFETYISLAND = 0X62,
    DMS_DEV_TYPE_TS = 0X63,
    DMS_DEV_TYPE_AIC = 0X64,
    DMS_DEV_TYPE_AIV = 0X65,
    DMS_DEV_TYPE_L2BUF = 0X66,
    DMS_DEV_TYPE_SDMA = 0X67,
    DMS_DEV_TYPE_DVPP = 0X68,
    DMS_DEV_TYPE_JPEGD = 0X69,
    DMS_DEV_TYPE_JPEGE = 0X6A,
    DMS_DEV_TYPE_PNGD = 0X6B,
    DMS_DEV_TYPE_VDEC = 0X6C,
    DMS_DEV_TYPE_VENC = 0X6D,
    DMS_DEV_TYPE_VPC = 0X6E,
    DMS_DEV_TYPE_DDR = 0X6F,
    DMS_DEV_TYPE_HBM = 0X70,
    DMS_DEV_TYPE_LPM = 0X71,
    DMS_DEV_TYPE_HSM = 0X72,
    DMS_DEV_TYPE_SAFE_SEC = 0X73,
    DMS_DEV_TYPE_GPU = 0X74,
    DMS_DEV_TYPE_DISPLAY = 0X75,
    DMS_DEV_TYPE_AUDIO = 0X76,
    DMS_DEV_TYPE_CAMERA = 0X77,
    DMS_DEV_TYPE_DDRA = 0X78,
    DMS_DEV_TYPE_HBMA = 0X79,
    DMS_DEV_TYPE_ISP = 0X7A,
    DMS_DEV_TYPE_HWTS_S_TS = 0X7B,
    DMS_DEV_TYPE_BASE_SERVCIE = 0X7C,
    DMS_DEV_TYPE_TSCPU = 0X7D,
    DMS_DEV_TYPE_TSD_DAEMON = 0X7E,
    DMS_DEV_TYPE_DMP_DAEMON = 0X7F,
    DMS_DEV_TYPE_ADDA = 0X80,
    DMS_DEV_TYPE_SLOGD = 0X81,
    DMS_DEV_TYPE_LOG_DAEMON = 0X82,
    DMS_DEV_TYPE_PORT = 0X83,
    DMS_DEV_TYPE_CAN = 0X84,
    DMS_DEV_TYPE_SENSORHUB = 0X85,
    DMS_DEV_TYPE_MCU = 0X86,
    DMS_DEV_TYPE_OPP_SOC = 0X87,
    DMS_DEV_TYPE_PMU = 0X88,
    DMS_DEV_TYPE_VR = 0X89,
    DMS_DEV_TYPE_MBIGEN = 0X8A,
    DMS_DEV_TYPE_TEE_OS = 0X8B,
    DMS_DEV_TYPE_AO_SUBSYS = 0X8C,
    DMS_DEV_TYPE_PERI_SUBSYS = 0X8D,
    DMS_DEV_TYPE_HAC_SUBSYS = 0X8E,
    DMS_DEV_TYPE_IO_SUBSYS = 0X8F,
    DMS_DEV_TYPE_HILINK = 0x90,
    DMS_DEV_TYPE_MEDIA_SUB_SYS = 0x91,
    DMS_DEV_TYPE_ISP_SUB_SYS = 0x92,
    DMS_DEV_TYPE_CPU_CLUSTER = 0X93,
    DMS_DEV_TYPE_HWTSCPU = 0x96,
    DMS_DEV_TYPE_TSFW = 0x97,
    DMS_DEV_TYPE_DSA = 0x98,
    DMS_DEV_TYPE_TS_DISP = 0X99,
    DMS_DEV_TYPE_TS_AA = 0X9A,
    DMS_DEV_TYPE_TS_SCHE = 0X9B,
    DMS_DEV_TYPE_TS_SMMU = 0X9C,
    DMS_DEV_TYPE_AIC_DISP = 0x9D,
    DMS_DEV_TYPE_AIC_AA = 0X9E,
    DMS_DEV_TYPE_AIC_SMMU = 0X9F,
    DMS_DEV_TYPE_AIV_DISP  = 0XA0,
    DMS_DEV_TYPE_AIV_AA = 0XA1,
    DMS_DEV_TYPE_AIV_SMMU = 0XA2,
    DMS_DEV_TYPE_DVPPSUB_DISP = 0xA3,
    DMS_DEV_TYPE_DVPPSUB_AA = 0xA4,
    DMS_DEV_TYPE_DVPPSUB_SCHE = 0xA5,
    DMS_DEV_TYPE_DVPPSUB_SMMU = 0xA6,
    DMS_DEV_TYPE_ISPSUB_DISP = 0xA7,
    DMS_DEV_TYPE_ISPSUB_AA = 0xA8,
    DMS_DEV_TYPE_ISPSUB_SCHE = 0xA9,
    DMS_DEV_TYPE_ISPSUB_SMMU = 0xAA,
    DMS_DEV_TYPE_AOSUB_DISP = 0xAB,
    DMS_DEV_TYPE_AOSUB_AA = 0xAC,
    DMS_DEV_TYPE_AOSUB_SCHE = 0xAD,
    DMS_DEV_TYPE_AOSUB_SMMU = 0xAE,
    DMS_DEV_TYPE_PERI_DISP = 0xAF,
    DMS_DEV_TYPE_PERI_AA = 0xB0,
    DMS_DEV_TYPE_PERI_SCHE = 0xB1,
    DMS_DEV_TYPE_PERI_SMMU = 0xB2,
    DMS_DEV_TYPE_HAC_DISP = 0xB3,
    DMS_DEV_TYPE_HAC_AA = 0xB4,
    DMS_DEV_TYPE_HAC_SCHE = 0xB5,
    DMS_DEV_TYPE_HAC_SMMU = 0xB6,
    DMS_DEV_TYPE_IO_DISP = 0xB7,
    DMS_DEV_TYPE_IO_AA = 0xB8,
    DMS_DEV_TYPE_IO_SCHE = 0xB9,
    DMS_DEV_TYPE_IO_SMMU = 0xBA,
    DMS_DEV_TYPE_SILS_DISP = 0xBB,
    DMS_DEV_TYPE_SILS_AA = 0xBC,
    DMS_DEV_TYPE_SILS_SCHE = 0xBD,
    DMS_DEV_TYPE_SILS_SMMU = 0xBE,
    DMS_DEV_TYPE_SDMAM = 0xC7,
    DMS_DEV_TYPE_POWER_GLITCH_SENSOR = 0xC8,
    DMS_DEV_TYPE_DSA_DISP = 0xC9,
    DMS_DEV_TYPE_NIC_DISP = 0xCA,
    DMS_DEV_TYPE_PCIE_DISP = 0xCB,
    DMS_DEV_TYPE_HCCS = 0xCD,
    DMS_DEV_TYPE_EMMC = 0xCE,
    DMS_DEV_TYPE_HCCS_PORT = 0xD1,
    DMS_DEV_TYPE_IMU = 0xD2,
    DMS_DEV_TYPE_ROH = 0XD5,
    DMS_DEV_TYPE_ROH_PORT = 0XD6,
    DMS_DEV_TYPE_UB = 0xD7,
    DMS_DEV_TYPE_UB_PORT = 0xD8,
    DMS_DEV_TYPE_CCU = 0xD9,
    DMS_DEV_TYPE_UBSUB_DISP = 0xDA,
    DMS_DEV_TYPE_UBSUB_AA = 0xDB,
    DMS_DEV_TYPE_ZIP = 0xDE,
    DMS_DEV_TYPE_SEC = 0xDF,
    DMS_DEV_TYPE_DSA_SMMU = 0xE2,
    DMS_DEV_TYPE_PCIE_SMMU = 0xE3,
    DMS_DEV_TYPE_NIC_SMMU = 0xE4,
    DMS_DEV_TYPE_MAX,
} DMS_DEVICE_NODE_TYPE;

#endif
